package com.guoxue.model;
import java.util.List;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.guoxue.domain.ExplainConfigVo;
import com.guoxue.domain.StoryConfigVo;

public class ExplainConfig extends ExplainConfigVo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private List<String> words;
	private List<String> phoneticizes;
	private List<StoryConfigVo> storys;

	public ExplainConfig(int explainId, String word, String phoneticize, int storyId1, int storyId2,
			int storyId3, int storyId4, String wordExplain) {
		//这里的实现可以用super或者this，super属于纯继承；this属于覆写
		super();
		super.setExplainId(explainId);
		super.setWord(word);
		super.setPhoneticize(phoneticize);
		super.setStoryId1(storyId1);
		super.setStoryId2(storyId2);
		super.setStoryId3(storyId3);
		super.setStoryId4(storyId4);
		super.setWordExplain(wordExplain);
	}
	
	public List<String> getWords() {
		return words;
	}

	public void setWords(List<String> words) {
		this.words = words;
	}

	public List<String> getPhoneticizes() {
		return phoneticizes;
	}

	public void setPhoneticizes(List<String> phoneticizes) {
		this.phoneticizes = phoneticizes;
	}

	public List<StoryConfigVo> getStorys() {
		return storys;
	}

	public void setStorys(List<StoryConfigVo> storys) {
		this.storys = storys;
	}
}

